package com.ecoolex.chinadutyfree.retailer.core.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.chinadutyfree.retailer.core.mapper.DirectMailGoodsOrderIncrementDataMapper;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsOrderIncrementData;
import com.ecoolex.chinadutyfree.retailer.pojo.OrderStatisticsIncrementDTO;

public interface DirectMailGoodsOrderIncrementDataDAO extends DirectMailGoodsOrderIncrementDataMapper {
	
	Long add(@Param("paymentTime") String paymentTime,
		@Param("confirmReceiptTime") String confirmReceiptTime,
		@Param("paid") String paid,
		@Param("complete") String complete,
		@Param("shipped") String shipped,
		@Param("afterSales") String afterSales,
		@Param("close") String close,
		@Param("recordTime") Date recordTime,
		@Param("createUser") String createUser,
		@Param("createTime") Date createTime,
		@Param("updateUser") String updateUser,
		@Param("updateTime") Date updateTime,
		@Param("deleted") Boolean deleted);
	
	OrderStatisticsIncrementDTO getIncrementDataByDate(@Param("startDate") Date startDate,@Param("endDate") Date endDate);
	
	List<DirectMailGoodsOrderIncrementData> incrementDataList(@Param("startDate") Date startDate,@Param("endDate") Date endDate);
}